<template>
	<view class="page-con pd10">
		<view v-for="(item, index) in seviceList" :key="index" class="">
			<serverCard :item="item" @goDetail="goDetail"/>
		</view>
	</view>
</template>

<script setup>
	import {
		ref,
		computed,
		onMounted,
		reactive,
		nextTick
	} from 'vue';
	import {
		onLoad,
		onShow
	} from '@dcloudio/uni-app';
	import serverCard from "@/components/serverCard.vue";
	import router from "@/ya/router/index.js";
	const seviceList = ref([
		{
			title: '牛肉面(XXX店)',
			subTitle: '精选牛肉，鲜嫩美味',
			imgUrl: '/static/images/autumn.jpg',
			distance: '0.55'
		}
	]);
	onLoad(async (query) => {
		uni.setNavigationBarTitle({
			title: "我的收藏"
		})
	});
</script>

<style>

</style>
